
import fetch from '../utils/fetch';

const getDingdingConfig = (data) => fetch('/rest/dingtalk/hiplus/config', data, 'post');

const getDingdingToken = (params) => fetch('/rest/crm/token', params, 'get');

export {
  getDingdingConfig,
  getDingdingToken,
};
